﻿using B.S.Production.ErrorCode;
using MediatR;

namespace B.S.Production.Write.API.Application.Command.MaterialsRequiredCommand
{
    public class UpdateMaterialsRequiredCommand : IRequest<ApiResult<int>>
    {
        public int RequiredId { get; set; }
        /// <summary>
        /// 生产订单id
        /// </summary>
        public int ProdunctionId { get; set; }
        /// <summary>
        /// 派工产品id
        /// </summary>
        public int DispatchId { get; set; }
        /// <summary>
        /// 客户订单id
        /// </summary>
        public int CoId { get; set; }
        /// <summary>
        /// 产品名称
        /// </summary>
        public string ProductName { get; set; }
        /// <summary>
        /// 产品编号
        /// </summary>
        public long ProductNumber { get; set; }
        /// <summary>
        /// 规格型号
        /// </summary>
        public string Specification { get; set; }
        /// <summary>
        /// 单位
        /// </summary>
        public string Unit { get; set; }
        /// <summary>
        /// 产品比例
        /// </summary>
        public string Productatio { get; set; }
        /// <summary>
        /// 现有存库
        /// </summary>
        public string ExistingInventory { get; set; }
        /// <summary>
        /// 耗损率（%）
        /// </summary>
        public string WastageRate { get; set; }
        /// <summary>
        /// 所需数量
        /// </summary>
        public string QuantityRequired { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string Remark { get; set; }
        /// <summary>
        /// 已领数量
        /// </summary>
        public string QuantityClaimed { get; set; }
        /// <summary>
        /// 到货日期
        /// </summary>
        public DateTime? ArrivalDate { get; set; }
        /// <summary>
        /// 逻辑删除true-false
        /// </summary>
        public bool IsDelete { get; set; }
    }
}
